<?php if(!defined('SABLOG_ROOT')) exit('Access Denied');?>
<script type="text/javascript" src="$options[url]include/jscript/login.js"></script>
<div class="loginBox">
	<h3 class="title">Register</h3>
	<form action="" method="post" onsubmit="return checkloginform();">
	<input type="hidden" name="action" value="register" />
	<input type="hidden" name="formhash" value="$formhash" />
	<input type="hidden" name="referer" value="$referer" />
	<div class="formbox">
		<p>
			<label for="username">用户名(*):<br />
				<input name="username" id="username" type="text" size="30" tabindex="1" maxlength="40" value="" class="formfield" />
			</label>
		</p>
		<p>
			<label for="password">密码(*):<br />
				<input name="password" id="password" type="password" size="30" tabindex="2" maxlength="50" value="" class="formfield" />
			</label>
		</p>
		<p>
			<label for="confirmpassword">确认密码(*):<br />
				<input name="confirmpassword" id="confirmpassword" type="password" size="30" tabindex="3" maxlength="50" value="" class="formfield" />
			</label>
		</p>
		<p>
			<label for="email">E-mail(*):<br />
				<input name="email" id="email" type="text" size="40" tabindex="4" maxlength="40" value="" class="formfield" />
			</label>
		</p>
		<p>
			<label for="url">主页:<br />
				<input name="url" id="url" type="text" size="40" tabindex="5" maxlength="75" value="" class="formfield" />
			</label>
		</p>
		<!--{if $options['seccode']}-->
			<p>
				<label for="clientcode">Seccode:<br />
					<input onfocus="updateseccode();this.onfocus = null;" name="clientcode" id="clientcode" value="" tabindex="3" class="formfield" size="6" maxlength="6" />
					<span id="seccodeimage"></span>
				</label>
			</p>
		<!--{/if}-->
		<p>
			<button type="submit" name="submit">Submit</button>
		</p>
	</div>
	</form>
</div>